﻿<!DOCTYPE html>
<html>
	<head>
		<title>Align and arrange objects on a page</title>
		<meta charset="utf-8" />
		<meta name="description" content="Align and arrange text boxes, autoshapes, images and charts on a page." />
		<link type="text/css" rel="stylesheet" href="../../../../../../common/main/resources/help/editor.css" />
		<link type = "text/css" rel = "stylesheet" href = "../../images/sprite.css" />
        <script type="text/javascript" src="../callback.js"></script>
        <script type="text/javascript" src="../search/js/page-search.js"></script>
	</head>
	<body>
		<div class="mainpart">
        <div class="search-field">
            <input id="search" class="searchBar" placeholder="Search" type="text" onkeypress="doSearch(event)">
        </div>
			<h1>Align and arrange objects on a page</h1>
			<p>The added <b>autoshapes, images, charts</b> or <b>text boxes</b> can be aligned, grouped and ordered on a page. To perform any of these actions, first select a separate object or several objects on the page. To select several objects, hold down the <b>Ctrl</b> key and left-click the necessary objects. To select a text box, click on its border, not the text within it. After that you can use either the icons at the <b>Layout</b> tab of the top toolbar described below or the analogous options from the right-click menu.</p>
			<h3>Align objects</h3>
            <p>To <b>align</b> <em>two or more</em> selected objects, </p>
			    <ol>
                    <li>Click the <div class = "icon icon-align_toptoolbar"></div> <b>Align</b> icon at the <b>Layout</b> tab of the top toolbar and select one of the following options:
                        <ul>
                            <li><b>Align to Page</b> to align objects relative to the edges of the page,</li>
                            <li><b>Align to Margin</b> to align objects relative to the page margins,</li>
                            <li><b>Align Selected Objects</b> (this option is selected by default) to align objects relative to each other,</li>
                        </ul>
                    </li>
                    <li>Click the <div class = "icon icon-align_toptoolbar"></div> <b>Align</b> icon once again and select the necessary alignment type from the list:
                        <ul>
                            <li><b>Align Left</b> <div class = "icon icon-alignobjectleft"></div> - to line up the objects horizontally by the left edge of the leftmost object/left edge of the page/left page margin,</li>
                            <li><b>Align Center</b> <div class = "icon icon-alignobjectcenter"></div> - to line up the objects horizontally by their centers/center of the page/center of the space between the left and right page margins,</li>
                            <li><b>Align Right</b> <div class = "icon icon-alignobjectright"></div> - to line up the objects horizontally by the right edge of the rightmost object/right edge of the page/right page margin,</li>
                            <li><b>Align Top</b> <div class = "icon icon-alignobjecttop"></div> - to line up the objects vertically by the top edge of the topmost object/top edge of the page/top page margin,</li>
                            <li><b>Align Middle</b> <div class = "icon icon-alignobjectmiddle"></div> - to line up the objects vertically by their middles/middle of the page/middle of the space between the top and bottom page margins,</li>
                            <li><b>Align Bottom</b> <div class = "icon icon-alignobjectbottom"></div>  - to line up the objects vertically by the bottom edge of the bottommost object/bottom edge of the page/bottom page margin.</li>
                        </ul>
                    </li>
                </ol>
            <p>Alternatively, you can right-click the selected objects, choose the <b>Align</b> option from the contextual menu and then use one of the available alignment options.</p>
            <p>If you want to align a single object, it can be aligned relative to the edges of the page or to the page margins. The <b>Align to Margin</b> option is selected by default in this case.</p>
            <h3>Distribute objects</h3>
            <p>To <b>distribute</b> <em>three or more</em> selected objects horizontally or vertically so that the equal distance appears between them, </p>
            <ol>
                <li>
                    Click the <div class = "icon icon-align_toptoolbar"></div> <b>Align</b> icon at the <b>Layout</b> tab of the top toolbar and select one of the following options:
                    <ul>
                        <li><b>Align to Page</b> to distribute objects between the edges of the page,</li>
                        <li><b>Align to Margin</b> to distribute objects between the page margins,</li>
                        <li><b>Align Selected Objects</b> (this option is selected by default) to distribute objects between two outermost selected objects,</li>
                    </ul>
                </li>
                <li>
                    Click the <div class = "icon icon-align_toptoolbar"></div> <b>Align</b> icon once again and select the necessary distribution type from the list:
                    <ul>
                        <li><b>Distribute Horizontally</b> <div class = "icon icon-distributehorizontally"></div> - to distribute objects evenly between the leftmost and rightmost selected objects/left and right edges of the page/left and right page margins<!--to align the selected objects by their centers (from right to left edges) to the horizontal center of the page-->.</li>
                        <li><b>Distribute Vertically</b> <div class = "icon icon-distributevertically"></div> - to distribute objects evenly between the topmost and bottommost selected objects/top and bottom edges of the page/top and bottom page margins<!--to align the selected objects by their centers (from top to bottom edges) to the vertical center of the page-->.</li>
                    </ul>
                </li>
            </ol>
            <p>Alternatively, you can right-click the selected objects, choose the <b>Align</b> option from the contextual menu and then use one of the available distribution options.</p>
            <p class="note"><b>Note</b>: the distribution options are disabled if you select less than three objects.</p>
            <h3>Group objects</h3>
            <p>To <b>group</b> <em>two or more</em> selected objects or <b>ungroup</b> them, click the arrow next to the <span class = "icon icon-group_toptoolbar"></span> <b>Group</b> icon at the <b>Layout</b> tab of the top toolbar and select the necessary option from the list:</p>
            <ul>
                <li><b>Group</b> <div class = "icon icon-group"></div> - to join several objects into a group so that they can be simultaneously rotated, moved, resized, aligned, arranged, copied, pasted, formatted like a single object.</li>
                <li><b>Ungroup</b> <div class = "icon icon-ungroup"></div> - to ungroup the selected group of the previously joined objects.</li>
            </ul>
            <p>Alternatively, you can right-click the selected objects, choose the <b>Arrange</b> option from the contextual menu and then use the <b>Group</b> or <b>Ungroup</b> option.</p>
            <p class="note"><b>Note</b>: the <b>Group</b> option is disabled if you select less than two objects. The <b>Ungroup</b> option is available only when a group of the previously joined objects is selected.</p>
            <h3>Arrange objects</h3>
            <p>To <b>arrange</b> objects (i.e. to change their order when several objects overlap each other), you can use the <span class = "icon icon-bringforward_toptoolbar"></span> <b>Bring Forward</b> and <span class = "icon icon-sendbackward_toptoolbar"></span> <b>Send Backward</b> icons at the <b>Layout</b> tab of the top toolbar and select the necessary arrangement type from the list.</p>
			<p>To move the selected object(s) forward, click the arrow next to the <span class = "icon icon-bringforward_toptoolbar"></span> <b>Bring Forward</b> icon at the <b>Layout</b> tab of the top toolbar and select the necessary arrangement type from the list:</p>
            <ul>
                <li><b>Bring To Foreground</b> <div class = "icon icon-bringtofront"></div> - to move the object(s) in front of all other objects,</li>
                <li><b>Bring Forward</b> <div class = "icon icon-bringforward"></div> - to move the selected object(s) by one level forward as related to other objects.</li>
            </ul>
            <p>To move the selected object(s) backward, click the arrow next to the <span class = "icon icon-sendbackward_toptoolbar"></span> <b>Send Backward</b> icon at the <b>Layout</b> tab of the top toolbar and select the necessary arrangement type from the list:</p>
            <ul>
                <li><b>Send To Background</b> <div class = "icon icon-sendtoback"></div> - to move the object(s) behind all other objects,</li>
                <li><b>Send Backward</b> <div class = "icon icon-sendbackward"></div> - to move the selected object(s) by one level backward as related to other objects.</li>
            </ul>
            <p>Alternatively, you can right-click the selected object(s), choose the <b>Arrange</b> option from the contextual menu and then use one of the available arrangement options.</p>
		</div>
	</body>
</html>